/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bang;

import poo.bang.cards.*;

/**
 *
 * @author Capucho
 */
public class No {
    
	private CartaGame card;
	private No ant,prox;
	
	public void setCard(CartaGame c){
		this.card=c;
	}
	
	public CartaGame getCard(){
		return this.card;
	}
	
	public void setProx(No p){
		this.prox=p;
	}
	
	public No getProx(){
		return this.prox;
	}
        public void setAnt(No ant) {
            this.ant = ant;
        }
	
        public No getAnt() {
            return this.ant;
        }
	
        //Construtor
        public No(CartaGame c){
		this.card=c;
		this.prox=this.ant=null;
	}

    

}
